<script>
	export default {
		globalData: {
			statusBarHeight: 0,  	// 状态栏高度
			navHeight: 0,			// 导航栏高度
			winHeight: 0,         	// 屏幕高度
			capHeight: 0,			// 胶囊高度
			safeArea: 0,			// 安全区域高度
		},
		onLaunch: function() {
			uni.hideTabBar();
            uni.getSystemInfo({
                success: res => {
                    this.$store.dispatch('init/get_systemInfo', res);
                }
            })
            let menuButtonInfo = uni.getMenuButtonBoundingClientRect();
            this.$store.dispatch('init/get_menuButtonInfo',menuButtonInfo);
		},
	}
</script>
<style lang="scss">
	@import "uview-ui/index.scss";
	/*每个页面公共css */
    * {
    	margin: 0;
    	padding: 0;
        font-family: PingFang SC, PingFang SC-Regular;
    }
    page {
        background-color: #f8f8fb;
    	padding-bottom: constant(safe-area-inset-bottom);
    	padding-bottom: env(safe-area-inset-bottom);
    }
	::-webkit-scrollbar {
		display: none;
	}
</style>
